package com.hydl.power.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@Api(value = "OrderDelivery", description = "工单")
public class OrderDelivery {
    private Integer id;
    @ApiModelProperty("派单号")
    private String orderDeliveryId;
    @ApiModelProperty("工单类型  1告警工单 2巡查工单 3 检修 4实验")
    private Integer orderTypes;
    @ApiModelProperty("处理级别 1 一般 2紧急 3严重")
    private Integer rank;
    @ApiModelProperty("故障内容")
    private String fault;
    @ApiModelProperty("故障类型(告警类型) 1越限告警 2变位告警 3电量反转 4时间反转 5数据异常 6 通信状态告警")
    private Integer faultTypes;
    @ApiModelProperty("1待派送 2待处理(派送工单) 3处理中 4 忽略工单(以忽略) 5 以结束")
    private Integer orderStatus;
    @ApiModelProperty("故障时间")
    private Date faultTime;
    @ApiModelProperty("工单处理开始时间")
    private Date dealBeginTime;
    @ApiModelProperty("工单处理结束时间")
    private Date dealEndTime;
    @ApiModelProperty("工单派送时间")
    private Date orderDeliveryTime;
    @ApiModelProperty("配电房id")
    private String roomId;
    @ApiModelProperty("配电房名字")
    private String roomName;
    @ApiModelProperty("运维人员id")
    private Integer maintainerId;
    @ApiModelProperty("运维人员名字")
    private String maintainerName;
    @ApiModelProperty("单位ID")
    private String projectId;
    @ApiModelProperty("单位名字")
    private String projectName;
    @ApiModelProperty("区域id")
    private String areaId;
    @ApiModelProperty("区域名字")
    private String areaName;
    @ApiModelProperty("设备id")
    private String deviceId;
    @ApiModelProperty("设备名字")
    private String deviceName;
    @ApiModelProperty("设备地址")
    private String deviceAddress;
    @ApiModelProperty("SN设备识别序列号")
    private String Sn;
    @ApiModelProperty("是否告警 1 告警 2 不告警")
    private Integer flag;
    @ApiModelProperty("处理结果")
    private String dispose;
    @ApiModelProperty("综合分析")
    private String illustrate;
    @ApiModelProperty("故障原因")
    private String reason;
    @ApiModelProperty("手机号")
    private String phone;

    private String imageUrl;
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getDispose() {
        return dispose;
    }

    public void setDispose(String dispose) {
        this.dispose = dispose;
    }

    public String getIllustrate() {
        return illustrate;
    }

    public void setIllustrate(String illustrate) {
        this.illustrate = illustrate;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceAddress() {
        return deviceAddress;
    }

    public void setDeviceAddress(String deviceAddress) {
        this.deviceAddress = deviceAddress;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderDeliveryId() {
        return orderDeliveryId;
    }

    public void setOrderDeliveryId(String orderDeliveryId) {
        this.orderDeliveryId = orderDeliveryId == null ? null : orderDeliveryId.trim();
    }

    public Integer getOrderTypes() {
        return orderTypes;
    }

    public void setOrderTypes(Integer orderTypes) {
        this.orderTypes = orderTypes;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public String getFault() {
        return fault;
    }

    public void setFault(String fault) {
        this.fault = fault == null ? null : fault.trim();
    }

    public Integer getFaultTypes() {
        return faultTypes;
    }

    public void setFaultTypes(Integer faultTypes) {
        this.faultTypes = faultTypes;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getFaultTime() {
        return faultTime;
    }

    public void setFaultTime(Date faultTime) {
        this.faultTime = faultTime;
    }

    public Date getDealBeginTime() {
        return dealBeginTime;
    }

    public void setDealBeginTime(Date dealBeginTime) {
        this.dealBeginTime = dealBeginTime;
    }

    public Date getDealEndTime() {
        return dealEndTime;
    }

    public void setDealEndTime(Date dealEndTime) {
        this.dealEndTime = dealEndTime;
    }

    public Date getOrderDeliveryTime() {
        return orderDeliveryTime;
    }

    public void setOrderDeliveryTime(Date orderDeliveryTime) {
        this.orderDeliveryTime = orderDeliveryTime;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId == null ? null : roomId.trim();
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName == null ? null : roomName.trim();
    }

    public Integer getMaintainerId() {
        return maintainerId;
    }

    public void setMaintainerId(Integer maintainerId) {
        this.maintainerId = maintainerId;
    }

    public String getMaintainerName() {
        return maintainerName;
    }

    public void setMaintainerName(String maintainerName) {
        this.maintainerName = maintainerName == null ? null : maintainerName.trim();
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }


    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }

    public String getSn() {
        return Sn;
    }

    public void setSn(String sn) {
        Sn = sn;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}